<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>{$site.name|htmlentities}</title>
    <link rel="shortcut icon" href="__CDN__/assets/img/favicon.ico"/>
    <link rel="stylesheet" href="__CDN__/assets/layui/css/layui.css">
    <link href="__CDN__/assets/css/index.css" rel="stylesheet">
    <style>
        .form-top{
            border-bottom: 1px solid #ccc;
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background: white;
        }
        .form-top .form-header-text div{
            font-size: 0.8rem;
            font-weight: 600;
        }
        .form-header-buttom{
            position: absolute;
            right: 0;
            top: 50%;
        }
        .form-content{
            background: rgb(196, 214, 236);
        }
        .red-color{
            color: red;
        }
        .form-search{
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            align-items: center;
            font-weight: 600;
            background: rgb(240, 237, 72);
            padding: 6px;
        }
        .form-tbale table{
            width: 100%;
        }
        .form-tbale table td{
            border: 2px solid #ccc;
            font-size: 12px;
            font-weight: 600;
            text-align: center;
            padding: 10px;
        }
    </style>
</head>

<body>

<div id="mainbody">
    <div class="container">
        <div style="position: sticky;top: 0; background: white">
            
            <div class="layui-row" style="height: 51px;line-height: 51px;">
                <!--            头部-->
                <div class="layui-col-xs12 layui-col-sm12 layui-col-md12  form-top">
                    <div class="form-header-buttom">
                        <button type="button" class="layui-btn submit">提交定制列表</button>
                    </div>
                </div>
            </div>
            <div style="text-align: center;" class="form-tbale-header" >
                {$site.table_title}
            </div>
            <div class="layui-row" style="margin: 6px;" >
                <!--            类型-->
                <div class="form-content red-color" style="display: flex;justify-content: space-between" >
                    <div>
                        请先选择内存:
                        <div class="type_radio">

                        </div>
                    </div>
                    <div>
                        <div class="form-header-text" >
                            <div>内存实际容量: <span class="data-size">0</span></div>
                            <div>已选游戏总容量: <span class="used_space">0</span></div>
                            <div>内存剩余容量: <span class="remainin_space">0</span></div>
                        </div>
                    </div>

                </div>
            </div>
        </div>
            <div style="display: none" id="biaodan">
                <form class="layui-form" lay-filter="form" style="padding: 20px" >
                    <div class="form-group" >
                        (必填项)订单地址上的收件人:
                        <div class="col-xs-12 col-sm-8">
                            <input lay-verify="required" name="username" placeholder="请输入收件人"   type="text" class="layui-input" />
                        </div>
                    </div>
                    <div class="form-group" style="margin-bottom: 10px" >
                        电话:
                        <div class="col-xs-12 col-sm-8"><input  name="phone" lay-verify="required|phone" type="text" class="layui-input" /></div>
                    </div>
                    <div style="margin-bottom: 10px" >
                        <button id="submit" class="layui-btn" lay-submit lay-filter="submitPop"  >提交</button>
                    </div>
                    <div>列表中没有的游戏</div>
                    <div>请在下方输入游戏名并与已选的游戏一起提交</div>
                    <textarea name="remarks" cols="30" rows="10" style="width: 100%" id="remarks" ></textarea>
                </form>
            </div>

            <div class="form-search" style="100%" >
                <div>
                    搜索: <input type="text" name="name"> <button class="serach" >查询</button>
                </div>
                <div>
                    备注:关键字为空时,查询全部数据
                </div>
            </div>
            <div class="form-tbale">
                <table>
                    <tr>
                        <td colspan="3">可以选择的游戏信息</td>
                    </tr>
                    <tr >
                        <td style="width: 5%" ></td>
                        <td style="width: 80%">语言-游戏名</td>
                        <td style="width: 15%">大小(GB)</td>
                    </tr>
                    <tbody class="commodity_list">
                    
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>

<div class="footer">
    <div class="container">
        <p>Copyright @ {$site.name|htmlentities} {:date('Y',time())} 版权所有 <a href="https://beian.miit.gov.cn" target="_blank">{$site.beian|htmlentities}</a></p>
    </div>
</div>

</body>
<script src="__CDN__/assets/layui/layui.js" ></script>
<script src="__CDN__/assets/js/index/index.js?v=2" ></script>
<script>
    var table_font_color = "{$site.table_font_color}";
    var table_font_size = "{$site.table_font_size}";
    layui.use(['layer','jquery'], function(){
        var $ = layui.jquery;
        $(".form-tbale-header").css("color", table_font_color)
        $(".form-tbale-header").css("font-size", table_font_size + 'px')
    })
    
</script>
<script>

</script>
</html>
